Integrand size = 30, antiderivative size = 36 \[ \int \sqrt {e \cos (c+d x)} \sqrt {a+i a \tan (c+d x)} \, dx=-\frac {2 i \sqrt {e \cos (c+d x)} \sqrt {a+i a \tan (c+d x)}}{d} \]
[Out]
Time = 0.15 (sec) , antiderivative size = 36, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.067, Rules used = {3596, 3569} \[ \int \sqrt {e \cos (c+d x)} \sqrt {a+i a \tan (c+d x)} \, dx=-\frac {2 i \sqrt {a+i a \tan (c+d x)} \sqrt {e \cos (c+d x)}}{d} \]
[In]
[Out]
Rule 3569
Rule 3596
Rubi steps \begin{align*} \text {integral}& = \left (\sqrt {e \cos (c+d x)} \sqrt {e \sec (c+d x)}\right ) \int \frac {\sqrt {a+i a \tan (c+d x)}}{\sqrt {e \sec (c+d x)}} \, dx \\ & = -\frac {2 i \sqrt {e \cos (c+d x)} \sqrt {a+i a \tan (c+d x)}}{d} \\ \end{align*}
Time = 1.10 (sec) , antiderivative size = 36, normalized size of antiderivative = 1.00 \[ \int \sqrt {e \cos (c+d x)} \sqrt {a+i a \tan (c+d x)} \, dx=-\frac {2 i \sqrt {e \cos (c+d x)} \sqrt {a+i a \tan (c+d x)}}{d} \]
[In]
[Out]
Time = 7.31 (sec) , antiderivative size = 32, normalized size of antiderivative = 0.89
method | result | size |
default | \(-\frac {2 i \sqrt {e \cos \left (d x +c \right )}\, \sqrt {a \left (1+i \tan \left (d x +c \right )\right )}}{d}\) | \(32\) |
risch | \(-\frac {2 i \sqrt {2}\, \sqrt {e \cos \left (d x +c \right )}\, \sqrt {\frac {a \,{\mathrm e}^{2 i \left (d x +c \right )}}{{\mathrm e}^{2 i \left (d x +c \right )}+1}}}{d}\) | \(46\) |
[In]
[Out]
none
Time = 0.26 (sec) , antiderivative size = 52, normalized size of antiderivative = 1.44 \[ \int \sqrt {e \cos (c+d x)} \sqrt {a+i a \tan (c+d x)} \, dx=-\frac {2 i \, \sqrt {2} \sqrt {\frac {1}{2}} \sqrt {e e^{\left (2 i \, d x + 2 i \, c\right )} + e} \sqrt {\frac {a}{e^{\left (2 i \, d x + 2 i \, c\right )} + 1}} e^{\left (\frac {1}{2} i \, d x + \frac {1}{2} i \, c\right )}}{d} \]
[In]
[Out]
\[ \int \sqrt {e \cos (c+d x)} \sqrt {a+i a \tan (c+d x)} \, dx=\int \sqrt {e \cos {\left (c + d x \right )}} \sqrt {i a \left (\tan {\left (c + d x \right )} - i\right )}\, dx \]
[In]
[Out]
Both result and optimal contain complex but leaf count of result is larger than twice the leaf count of optimal. 76 vs. \(2 (28) = 56\).
Time = 0.50 (sec) , antiderivative size = 76, normalized size of antiderivative = 2.11 \[ \int \sqrt {e \cos (c+d x)} \sqrt {a+i a \tan (c+d x)} \, dx=-\frac {2 i \, \sqrt {a} \sqrt {e} \sqrt {-\frac {2 i \, \sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} + \frac {\sin \left (d x + c\right )^{2}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{2}} - 1}}{d \sqrt {-\frac {\sin \left (d x + c\right )^{2}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{2}} - 1}} \]
[In]
[Out]
\[ \int \sqrt {e \cos (c+d x)} \sqrt {a+i a \tan (c+d x)} \, dx=\int { \sqrt {e \cos \left (d x + c\right )} \sqrt {i \, a \tan \left (d x + c\right ) + a} \,d x } \]
[In]
[Out]
Timed out. \[ \int \sqrt {e \cos (c+d x)} \sqrt {a+i a \tan (c+d x)} \, dx=\int \sqrt {e\,\cos \left (c+d\,x\right )}\,\sqrt {a+a\,\mathrm {tan}\left (c+d\,x\right )\,1{}\mathrm {i}} \,d x \]
[In]
[Out]